<template>
  <div>
    <img src="./assets/RU[(7JOL6UP3IA)SINT0WFA.png" alt="" v-show="flag" />
    <button @click="fn">点击以后显示和隐藏</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      flag: true,
    }
  },
  methods:{
    fn(){
      this.flag=!this.flag
    }
  }
}
</script>

<style></style>
